package com.buba.record.mapper;

import com.buba.pojo.other.Drugs;
import com.buba.pojo.record.DrugRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.buba.record.vo.DrugRecordVv;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 药品记录表 Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2022-06-09
 */
@Mapper
public interface DrugRecordMapper extends BaseMapper<DrugRecord> {

    Drugs getByIddrugs(Integer id);

    boolean adddrugRecord(DrugRecordVv drugRecordVoo);

    List<DrugRecordVv> drugRecordById(Integer id , String begin , String end);

    DrugRecordVv drugMesById(Integer id);

    List<DrugRecordVv> drugPatientById(Integer id);

    List<DrugRecordVv> patientRecordById(Integer id , String begin , String end);

    List<DrugRecordVv> pantPayRecor(Integer id);

    DrugRecordVv payDetail(Integer id);
}
